package com.cskaoyan.javase._3operation;
/**
 * 比较运算符: > < == >
 * 
 * @since 17:26
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Demo3 {
    public static void main(String[] args) {
        int a = 10;
        int b = 10;
        System.out.println(a == b);
        double c = 10.0;
        System.out.println(a == c);

        char d = 'a';
        System.out.println(d == 97);

        String s1 = "hello";
        String s2 = "hello";
        System.out.println(s1 == s2);
    }
}
